/* 热门文章区域 */
.hot-articles-section {
    margin-bottom: 2.5rem;
}

.hot-articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.article-cover.empty {
    display: none;
}

.article-content {
    padding: 1rem;
}

.article-category {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.article-title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.article-link {
    text-decoration: none;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.read-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-count::before {
    content: "👁️";
}

/* 文章详情页样式 */
.article-detail {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.detail-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.detail-content img {
    max-width: 100%;
    margin: 1.5rem 0;
    border-radius: 6px;
}